StoreKeeper\WooCommerce\B2C\Tools\Attributes B

Total Complexity 83
Dependencies 14
Dependents 7
Total lines 759
Lines of code 560
Logical lines of code 236
Comment lines 60
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
getAttributeOptionsIfInSync()
B
33 16 113
importAttributeOption()
A
36 7 107
findMatchingAttribute()
A
49 8 32
findMatchingAttributeOption()
A
47 7 41
importAttribute()
S
42 5 58
importsAttributeOptions()
S
52 3 26
prepareNewAttributeSlug()
S
57 3 16
getUnmatchedAttributes()
S
62 3 12
setAttributeOptionImage()
S
63 3 11
getAttributeOptionTermIdByAttributeOptionIdInMeta()
S
56 2 19
getTermsMetaValues()
S
56 2 17
isAttributeImageEnabled()
S
73 3 5
unsetAttributeOptionImage()
S
72 3 5
throwExceptionArray()
S
61 2 12
importsAttributes()
S
63 2 11
getTermsById()
S
63 2 11
registerAttributeTemporary()
S
56 1 20
getAttributeSlug()
S
68 2 7
getAttributeOptionsMap()
S
67 2 8
getDefaultType()
S
72 2 6
getAttribute()
S
80 1 3
isAttributeLinkedToBackend()
S
75 1 4
updateAttributeType()
S
65 1 9
formatOptionName()
S
75 1 4
__construct()
S
79 1 3